package com.thread2;

import java.util.concurrent.Callable;

import com.thread4.CallableDe;

public class CallableDemo implements Callable<String> {


	@Override
	public String call() throws Exception {
		for (int i = 0; i < 100; i++) {
			System.out.println("i==" + i + "," + CallableDe.class.getName());
			try {
				Thread.sleep(1000);
			} catch (InterruptedException e) {
				e.printStackTrace();
			}
		}
		return "CallableDemo";
	}

}
